package com.enoram.training1;

import java.util.ArrayList;

public class LawFirm extends Office {
	
	private ArrayList<Attorney> attorneyList = new ArrayList<Attorney>();
	private ArrayList<Staff> staffList = new ArrayList<Staff>();

	public LawFirm(){
		super();
	}
	
	public LawFirm(String name, Address address, String officePhone, String officeFax, String officeEmail) {
		super(name, address, officePhone, officeFax, officeEmail);

	}
	
	public void registerAttorney(String name, String position, String attorneyEmail, String barCode){
		Attorney attorney = new Attorney(name, position, attorneyEmail, barCode);
		attorneyList.add(attorney);
	}
	
	public void registerStaff(String lastName, String firstName, String middleName, String email, User user){
		Staff staff = new Staff(lastName, firstName, middleName, email, user);
		staffList.add(staff);
	}

}
